import http from '@/utils/request';
// //登入

export const loginApi = (username: string, password: string): Promise<any> =>
  http.post('/users/login', {
    username,
    password,
  });
